package com.zhuss.enums;

import java.util.List;

/**
 * @author summer
 * @date 2021/1/14 9:46
 */
public enum IntentionType implements BaseEnum {
    个人(10, "个人"),
    集体(20, "集体"),
    ;

    Integer key;

    String value;

    IntentionType(Integer key, String value) {
        this.key = key;
        this.value = value;
    }

    public Boolean sameKey(Integer key) {
        return this.key.equals(key);
    }

    public Integer key() {
        return key;
    }

    public String value() {
        return value;
    }

    @Override
    public String tag() {
        return null;
    }

    public String data() {
        return value;
    }

    @Override
    public List<Integer> removeIdList() {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public Boolean sameValue(String value) {
        return this.value.equals(value);
    }
}
